
//
//  HeightandWeight.m
//  babyMemoryPro
//
//  Created by student on 15-7-7.
//  Copyright (c) 2015年 niit. All rights reserved.
//

#import "HeightandWeight.h"

@implementation HeightandWeight
-(instancetype)initWithCoder:(NSCoder *)aDecoder{
    if (self=[super init]) {
        self.height=[aDecoder decodeObjectForKey:@"height"];
        self.weight=[aDecoder decodeObjectForKey:@"weight"];
    }
    return self;
}

-(void)encodeWithCoder:(NSCoder *)aCoder{
    [aCoder encodeObject:self.weight forKey:@"weight"];
    [aCoder encodeObject:self.height forKey:@"height"];
}
@end
